package com.vx.ratingTool;

public class Player {

	private int id;

	private String name;
	private int skill;
	private int rating;
	private int placementLeft;
	private int gamesPlayed;
	private int lastRatingChange;
	private int winsInARow;
	private int wins;

	public Player(int id, String name, int skill, int rating, int placementLeft, int gamesPlayed) {
		super();
		this.id = id;
		this.name = name;
		this.skill = skill;
		this.rating = rating;
		this.placementLeft = placementLeft;
		this.gamesPlayed = gamesPlayed;
		lastRatingChange = 0;
		wins = 0;
		winsInARow = 0;
	}

	public Player(Player another) {
		this.id = another.id;
		this.name = another.name;
		this.skill = another.skill;
		this.rating = another.rating;
		this.placementLeft = another.placementLeft;
		this.gamesPlayed = another.gamesPlayed;
		this.lastRatingChange = another.lastRatingChange;
		this.wins = another.wins;
		this.winsInARow = another.winsInARow;
	}

	public Player() {
		super();
		lastRatingChange = 0;
		wins = 0;
		winsInARow = 0;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getSkill() {
		return skill;
	}

	public void setSkill(int skill) {
		this.skill = skill;
	}

	public int getRating() {
		return rating;
	}

	public void setRating(int rating) {
		this.rating = rating;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getPlacementLeft() {
		return placementLeft;
	}

	public void setPlacementLeft(int placementLeft) {
		this.placementLeft = placementLeft;
	}

	public int getGamesPlayed() {
		return gamesPlayed;
	}

	public void setGamesPlayed(int gamesPlayed) {
		this.gamesPlayed = gamesPlayed;
	}

	public int getLastRatingChange() {
		return lastRatingChange;
	}

	public void setLastRatingChange(int lastRatingChange) {
		this.lastRatingChange = lastRatingChange;
	}

	public int getWinsInARow() {
		return winsInARow;
	}

	public void setWinsInARow(int winsInARow) {
		this.winsInARow = winsInARow;
	}

	public int getWins() {
		return wins;
	}

	public void setWins(int wins) {
		this.wins = wins;
	}

}
